<?php

namespace Users\Register;

class EmailPasswordFormConfig extends \Pinenut\Config {
	static $config = [
	'htmlOptions' => array (
			'method' => 'POST',
	),
	'elements' => array (
			'name' => array (
					'type' => 'text',
					'htmlOptions' => array (
							'placeholder' => 'Имя'
					),
					'filters' => 'trim',
					'validators' => 'notEmpty'
			),
			'email' => array (
					'type' => 'text',
					'htmlOptions' => array (
							'placeholder' => 'Email'
					),
					'filters' => 'trim',
					'validators' => 'notEmpty'
			),
			'password' => array (
					'type' => 'text',
					'htmlOptions' => array (
							'placeholder' => 'Пароль'
					),
					'validators' => 'notEmpty'

			),
			'submit' => array (
					'value' => 'Зарегистрироваться',
					'type' => 'submit'
			)
	)
	];
}